package com.cg.asm.core.service.auth.impl;

import com.cg.asm.core.dao.auth.AuthMapper;
import com.cg.asm.core.domain.vo.auth.AuthApiJoinVO;
import com.cg.asm.core.domain.vo.auth.AuthRegVO;
import com.cg.asm.core.service.auth.IAuthApiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AuthApiServiceImpl implements IAuthApiService {

    private  AuthMapper authMapper;

    @Autowired
    public AuthApiServiceImpl(AuthMapper authMapper) {
        this.authMapper = authMapper;
    }

    @Override
    public List<AuthRegVO> getAuthRegInfo() {
        return authMapper.getAuthRegInfo();
    }

    @Override
    public List<AuthApiJoinVO> getAuthApiJoinInfo() {
        return authMapper.getAuthApiJoinInfo();
    }

    @Override
    public void setRequestData(AuthApiJoinVO authApiJoinVO) {
        authMapper.setRequestData(authApiJoinVO);
    }
}
